let express = require('express')
let router = express.Router()
let user = require('./API/user')
let login = require('./API/login')
let notice = require('./API/notice')
let road = require('./API/road')
router.get('/user', user.get)



router.get('/login/login', login.login)
router.get('/login/manager', login.manager)
router.post('/login/register', login.register)

router.get('/notice/all', notice.allNotice)
router.get('/notice/del', notice.del)
router.get('/notice/addNotice', notice.addNotice)
router.get('/notice/get', notice.get)

router.get('/road/all', road.all)
router.get('/road/add', road.add)
router.get('/road/update', road.update)




module.exports = router
